/*
 * SNSRC1.h
 *
 *  Created on: 07/02/2013
 *      Author: RIchard
 */

#ifndef SNSRC1_H_
#define SNSRC1_H_

#include "../../SWTIMER/SWTIMERC1.h"

typedef enum
{
   SNSR_nenFirstSensor 		= 0u,

   //SNSR_nenBattery = SNSR_nenFirstSensor,
   //SNSR_nenChipTemperature,
   SNSR_nenTankPressure 	= SNSR_nenFirstSensor,
   SNSR_nenLight			= 1u,
   //SNSR_nenHumidity,
   //SNSR_nenBarometer,
   //SNSR_nenAmbTemp,
   //SNSR_nenAltitude,

   SNSR_nenLastSensor		= SNSR_nenLight,

   SNSR_nenNumberOfSensors	= SNSR_nenLastSensor + 1u
} SNSR_nenSensorList;

void SNSR_vReset( void );
bool SNSR_boIncrementMinuteCount( void );
bool SNSR_boProcessCurrentSensorAction( void );
SNSR_nenSensorList SNSR_enGetActiveSensor( void );
uint16 SNSR_u16GetSensorMinuteCount( void );

#endif /* SNSRC1_H_ */
